.login-container {
    min-height: calc(100vh - 70px);
    background-color: #f5f6fa;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    display: flex;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
}

/* 左侧图片区域 */
.login-image {
    flex: 1;
    position: relative;
    background-color: #2c3e50;
    overflow: hidden;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.image-overlay h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.image-overlay p {
    font-size: 18px;
    opacity: 0.9;
}

/* 右侧登录表单 */
.login-box {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: #7f8c8d;
    font-size: 18px;
}

.input-group .toggle-password {
    left: auto;
    right: 15px;
    cursor: pointer;
}

.input-group input {
    width: 100%;
    padding: 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3498db;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #2980b9;
}

.login-submit {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.login-submit:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.login-submit:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    margin: 30px 0;
    color: #7f8c8d;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #2980b9;
}

/* 其他登录方式 */
.other-login {
    margin-top: auto;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #7f8c8d;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.wechat {
    background-color: #07C160;
}

.qq {
    background-color: #12B7F5;
}

.weibo {
    background-color: #E6162D;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 500px;
    }

    .login-image {
        display: none;
    }

    .login-box {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .input-group input {
        padding: 12px 40px;
    }
}